package com.content.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.content.mapperExtend.belongToExtend;
import com.content.pojo.Article;
import com.content.pojo.BelongtoKey;
import com.content.service.belongToService;
@Service("belongTo")
@Transactional
public class belongToServiceImpl implements belongToService {

	@Resource
	public belongToExtend bToExtend;
	
	@Override
	public int getCountByClass() {
		// TODO Auto-generated method stub
		return bToExtend.getCountByClass();
	}

	@Override
	public List<BelongtoKey> getAllArticle() {
		// TODO Auto-generated method stub
		
		return bToExtend.getAllArticle();
	}

}
